package com.ruoyi.system.service.waterService;

import com.ruoyi.system.domain.waterEnity.OrderEntity;
import com.ruoyi.system.domain.waterEnity.OrderItemEntity;

import java.util.List;

public interface OrderService {
    /**
     * 订单管理
     * 1.查询全部订单
     * @return
     */
    List<OrderEntity> selectOrderList();
    String updateOrderById(String id);
    //根据order——id查询订单商品信息
    List<OrderItemEntity> selectOrderItemByOrder_id(String id);
    //根据Orderid,查找订单信息
    OrderEntity selectOrderByOrder_id(String order_id);
    int deleteOrder(String orderids);

    List<OrderEntity> selectOrder(String order_id, String pay_state, String state);
}
